﻿//新增
var fnCustomAdd = function () {
    document.getElementById("EditUIWindow").src = "../TR/TrSubjectInfo.aspx?r=" + Math.random() + "&entity=TrSubjectInfo";
    YAHOO.example.container.dialog1.show();
}
//编辑
var fnCustomEdit = function () {
    document.getElementById("EditUIWindow").src = "../TR/TrSubjectInfo.aspx?r=" + Math.random() + "&entity=TrSubjectInfo&SID=" + record.getData(const_entityID);
    YAHOO.example.container.dialog1.show();
}